<template>
	<view class="chooseproduct">
		<view class="head">
			<view class="title">
				选择商品
			</view>
			<navigator class="addproducts" url="../../pages/addproduct/addproduct">
				添加新商品
			</navigator>
		</view>
		<view class="main">
			<view class="item" v-for="(item,index) in 4" :key = "index">
				<view class="left">
					<view class="name">
						八爪鱼
					</view>
					<view class="type">
						规格：35元/斤
					</view>
				</view>
				<view class="right">
					 <checkbox class="mycheck" style="transform:scale(0.7)"/>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"chooseproducts",
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss" scoped>
.chooseproduct{
	width: 100%;
	box-sizing: border-box;
	background-color: #EEEEEE;
	border-top-right-radius:38rpx;
	border-top-left-radius:38rpx;
	.head{
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 15rpx 30rpx;
		font-size: 30rpx;
		.addproducts{
			padding: 10rpx 20rpx;
			border: 2rpx solid #F0AD4E;
			color:  #F0AD4E;
			border-radius: 38rpx;
		}
	}
	.main{
		height: 700rpx;
		overflow: hidden;
		.item{
			padding: 20rpx 30rpx;
			display: flex;
			align-items: center;
			justify-content: space-between;
			font-size: 28rpx;
			background-color: #FFFFFF;
			.left{
				.type{
					font-size: 24rpx;
					color: gray;
				}
			}
		}
	}
}
</style>
